package com.demo.service;

import com.demo.bean.Comment;
import com.demo.common.Result;

import java.util.List;

public interface CommentService {

	Result findById(Integer id);

	Result findPage(Integer pageId,Integer pageSize);

	/**
	 * 插入
	 * @param commentList
	 * @return
	 */
	Result insert(List<Comment> commentList);

	Result update(Comment article);

	Result delete(List<Long> ids);

	Result commentVoPage(Integer pageId,Integer pageSize);

}
